package com.hohd;

import com.fasterxml.jackson.core.JsonGenerator;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.JsonSerializer;
import com.fasterxml.jackson.databind.SerializerProvider;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.kh.first.utils.QuotaSerializer;
import lombok.Data;

import java.io.IOException;

@Data

public class User {
    //    @JsonSerialize(using = QuotaSerializer.class)
    @JsonSerialize(contentAs = cc.class)
    private String taskIds;
    private String name;

    public String getName() {
        System.out.println("getName");
        return name;
    }

    public void setName(String name) {
        System.out.println("setName");
        this.name = name;
    }
}

class cc {
    public String cc = "fff";

}
